<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        img{
            position:relative;
            width: 100%;
            height: 100%;
        }
        div{
            position :absolute;
            top: 300px;
            right: 600px;
        }
        h1{
            text-align: center;
            color: skyblue;
        }
    </style>
</head>
<body>
<img src="../static/img1/register.jpg">
<div>

    <form action="/send" method="get">
        <h1>&nbsp;&nbsp;&nbsp;注册</h1>
        您的邮箱<input type="text"  name="username"> <br>
        设置密码<input type="password"name="password"> <br>
        <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
        <input type="submit" value="发送验证码"> <span th:text="${error}">邮箱号为空</span>

        <a href="/loginCheck"><input type="button" value="返回登录"></a><br>
        <!--<span th:text="${error}">您还未注册</span>-->
    </form>
</div>
</body>
</html>